package com.eam.dao;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.eam.bean.Department;

/**
 * A data access object (DAO) providing persistence and search support for
 * Department entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.eam.dao.Department
 * @author MyEclipse Persistence Tools
 */

public abstract class DepartmentDAO extends HibernateDaoSupport {
	
	public abstract boolean save(Department department);

	public abstract boolean delete(Department department) ;

	public abstract Department updatePre(Department department);

	public abstract List findByExample(Department department) ;

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List<Department> findAll();

	public abstract Department merge(Department department);

	public abstract boolean update(Department department);

	public abstract void attachClean(Department instance) ;

}